package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;

import java.util.List;

/**
 * @author with葡萄成熟时
 * @version 1.0
 */

public interface DishService {

    void addDish(DishDTO dishDTO);

    PageResult selectDishPage(DishPageQueryDTO dishPageQueryDTO);

    void deleteDish(List<Long> ids);

    DishVO selectDishById(Long id);

    void updateDish(DishDTO dishDTO);

    List<Dish> selectByCategoryId(Long categoryId);


    void sellOrNot(Integer status, Long id);

    List<DishVO> selectByCategoryId1(Long categoryId);

}
